<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>从网页向控制器提交数据</h1>
	<div>
		<form action="test/form-demo.do" method="post">
			<table>用户名:</table>
			<br> <input name="user"><br>
			<table>密码:</table>
			<br> <input name="pwd" type="password"><br> 
			<input type="submit" value="提交">
		</form>
	</div>
	
	<h1> @RequestParam 接收表单参数</h1>
	<div>
		<form action="test/form-demo2.do" method="post">
			<table>用户名:</table>
			<br> <input name="2user"><br>
			<table>密码:</table>
			<br> <input name="pwd" type="password"><br> 
			<input type="submit" value="提交">
		</form>
	</div>
	
	<h1>表单登录</h1>
	<div>
		<form action="test/login.do" method="post">
			<table>用户名:</table>
			<br> <input name="user"><br>
			<table>密码:</table>
			<br> <input name="pwd" type="password"><br> 
			<input type="submit" value="提交">
		</form>
	</div>
	
</body>
</html>